package org.example.gradle.jp.feigns;

import gradle.common.core.response.ServerResponse;
import org.example.gradle.jp.feigns.fallback.GradleAdminFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "gradle-admin", fallbackFactory = GradleAdminFallbackFactory.class)
public interface GradleAdminFeignClient {

	@PostMapping("/service/seataTransactional/addUser")
	ServerResponse<Boolean> addUser();

}